
@SuppressWarnings("rawtypes")
public class EntityKind implements Comparable {
	private int kind;
	
	public EntityKind(int kind) {
		this.kind = kind;
	}
	
	public int compareTo(Object rhs) {
		EntityKind rhsEntityKind = (EntityKind)rhs;
		return (this.kind - rhsEntityKind.kind);
	}

	public int getKind() {
		return kind;
	}
	
	public String getKindName() {
		if (kind == 1) {
			return "METHODS";
		}
		return "VARIABLES";
	}
}
